package com.youlai.jdk;

/**
 * @author zc
 * @date 2023-03-26 16:27
 */
public class StudentScore {
    /**
     * 学生姓名
     */
    private String stuName;
    /**
     * 科目
     */
    private String subject;
    /**
     * 成绩
     */
    private int score;

    public StudentScore() {
    }

    public StudentScore(String stuName, String subject, int score) {
        this.stuName = stuName;
        this.subject = subject;
        this.score = score;
    }

    public String getStuName() {
        return stuName;
    }

    public void setStuName(String stuName) {
        this.stuName = stuName;
    }

    public String getSubject() {
        return subject;
    }

    public void setSubject(String subject) {
        this.subject = subject;
    }

    public int getScore() {
        return score;
    }

    public void setScore(int score) {
        this.score = score;
    }
}
